package com.yiren.dbaa.module.project_edit.service;

import com.yiren.backstage.currency.entity.JudgeDetailsEntity;
import com.yiren.backstage.currency.entity.JudgeEntity;
import com.yiren.backstage.currency.entity.MonitorCountEntity;
import com.yiren.backstage.currency.entity.ProjectEntity;
import com.yiren.backstage.currency.entity.ProjectJudgeEntity;

import java.util.List;

/**
 * @author lwb
 * @date : 2022/3/31 19:30
 * @description: 数据操作接口
 */
public interface IDataOperation {

    /**
     * 获取所有项目评判列表
     *
     * @return
     */
    List<ProjectJudgeEntity> getProjectJudgeList();

    /**
     * 获取所有项目列表
     *
     * @return
     */
    List<ProjectEntity> getProjectList();

    /**
     * 更新Judge表数据
     *
     * @param judge
     * @return
     */
    boolean updateJudge(JudgeEntity judge);

    /**
     * 更新JudgeDetails表数据
     *
     * @param judgeDetails
     * @return
     */
    boolean updateJudgeDetail(JudgeDetailsEntity judgeDetails);

    /**
     * 更新MonitorCount表数据
     *
     * @param monitorCount
     * @return
     */
    boolean updateMonitorCount(MonitorCountEntity monitorCount);

    /**
     * 更新项目
     *
     * @param project
     * @return
     */
    boolean updateProject(ProjectEntity project);

}